<?php
require_once("conn.php");
require_once("words_query.php");
require_once("function.php");


$path = "/home/fnsoxt/vvdict/_Shared/_Cache/sentencevoice/";

foreach($words as $value){
    $result = mysql_query("select id,En_Sen from word_examplesentence where id = {$value}",$conn);
    while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
        process_download($row,$path); 
   }
}
